#ifndef REUTERSLOADER_HPP
#define REUTERSLOADER_HPP

#include <QObject>
#include <QString>
#include <QList>
#include <QSet>

class ReutersDataModel;
class ReutersDataView;
class ReutersDocument;
class ReutersDataView;

class ReutersLoader : public QObject
{
    Q_OBJECT
public:

    explicit ReutersLoader(QObject *parent = 0);

private:

    ReutersDataModel* dataModel_;

    ReutersDataView* dataView_;

    QSet<QString> filter_;

signals:

    void loadingClassification ();

    void loadedClassification (ReutersDataModel*);

    void loadingDocument ();

    void loadedDocument (ReutersDocument*);

    void loadingFilter ();

    void loadedFilter (ReutersDataView*);

    void clsAcc (float);

public slots:
    
    void loadClassification (QString file);

    void loadDocument (ReutersDocument* document);

    void loadFilter (QString filter);

};

#endif // REUTERSLOADER_HPP
